package com.yourenbang.transaction.api.service.fund;

import com.yourenbang.lingyun.constants.enums.ServiceNameConstants;
import com.yourenbang.lingyun.core.message.Result;
import com.yourenbang.transaction.api.model.dto.AddBillDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 账单服务
 */
@FeignClient(value = ServiceNameConstants.SERVICE_TRANSACTION)
@RequestMapping("/service/fund/bill")
public interface FundBillService {

    /**
     * 记录账单
     */
    @RequestMapping("/add")
    Result<Void> addBill(@RequestBody AddBillDTO dto);



}
